//
//	RootClass.m
//
//	Create by jiang hao on 11/8/2016
//	Copyright © 2016. All rights reserved.
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "RootClass.h"

NSString *const kRootClassTList = @"tList";

@interface RootClass ()
@end
@implementation RootClass




/**
 * Instantiate the instance using the passed dictionary values to set the properties values
 */

-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
	self = [super init];
	if(dictionary[kRootClassTList] != nil && [dictionary[kRootClassTList] isKindOfClass:[NSArray class]]){
		NSArray * tListDictionaries = dictionary[kRootClassTList];
		NSMutableArray * tListItems = [NSMutableArray array];
		for(NSDictionary * tListDictionary in tListDictionaries){
			TList * tListItem = [[TList alloc] initWithDictionary:tListDictionary];
			[tListItems addObject:tListItem];
		}
		self.tList = tListItems;
	}
	return self;
}
@end